package com.yoda.mall.model.entity.cms;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yoda.mall.model.entity.BasePojo;
import lombok.Data;

import java.util.Date;
import java.io.Serializable;

/**
 * 专题表(CmsSubject)实体类
 *
 * @author shawn
 * @since 2022-12-17 11:29:47
 */
@TableName("cms_subject")
@Data
public class Subject extends BasePojo {
    private static final long serialVersionUID = 912884153753386994L;

    @TableId
    private Long id;
    
    private Long categoryId;
    
    private String title;

    /**
     * 专题主图
     */
    private String pic;
    /**
     * 关联产品数量
     */
    private Integer productCount;
    
    private Integer recommendStatus;
    
    private Integer collectCount;
    
    private Integer readCount;
    
    private Integer commentCount;
    /**
     * 画册图片用逗号分割
     */
    private String albumPics;
    
    private String description;
    /**
     * 显示状态：0->不显示；1->显示
     */
    private Integer showStatus;
    
    private String content;
    /**
     * 转发数
     */
    private Integer forwardCount;
    /**
     * 专题分类名称
     */
    private String categoryName;


}

